home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13293 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help!:Asmmbley Inline!
  5. Date: Sat, 06 Apr 96 14:13:19 GMT
  6. Organization: none
  7. Message-ID: <828799999snz@genesis.demon.co.uk>
  8. References: <3165F7B6.69F4@cts.com>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <3165F7B6.69F4@cts.com> provstu@cts.com "Brain" writes:
  15.  
  16. >char far *data ;
  17. >data = image -> buffer ;
  18. >
  19. >#asm
  20. >  
  21. >  push ds
  22. >  les di, video_buffer
  23. >  lds is, data
  24. >
  25. >#endasm
  26. >
  27. >it dosen't seem to see the variabkles!
  28.  
  29. The C language doesn't support any form on inline assembly so what this
  30. means (or how you fix it) depends entirely on the particular implementation
  31. you are using. Post in a relevant newsgroup (e.g. comp.os.msdos.programmer
  32. for a DOS based compiler) and state your compiler.
  33.  
  34. -- 
  35. -----------------------------------------
  36. Lawrence Kirby | fred@genesis.demon.co.uk
  37. Wilts, England | 70734.126@compuserve.com
  38. -----------------------------------------
  39.